package com.zhouxl.jackson.xml.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;

import java.util.List;

/**
 * @author zhouxl
 * @DATE 2021/8/26
 * @descriptoin
 */
@JacksonXmlRootElement(localName = "hblist")
@JsonIgnoreProperties(ignoreUnknown = true)   //忽略掉xml里不关注的element
public class Hblist {

    @JacksonXmlElementWrapper(useWrapping = false)
    private List<Hb> hb;

    public List<Hb> getHb() {
        return hb;
    }

    public void setHb(List<Hb> hb) {
        this.hb = hb;
    }
}
